package com.javasea.scene.repeatSubmit.example1.controller;

import com.javasea.scene.repeatSubmit.example1.annotation.NoRepeatSubmit2;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *@ClassName TestController
 *@Description TODO
 *@Author longxiaonan@163.com
 *@Date 2020/11/28 0028 23:38
 */
@RestController
public class TestController {

    @GetMapping("/aa")
    @NoRepeatSubmit2(lockTime = 2)
    public void test(){
        System.out.println("sss");
    }

}
